class person {
    String name;
    float height;
    public void walk() {
        System.out.println("人会走路");
    }

    public person eat() {
        System.out.println("public void person()");
        return null;
        
    }
}
class Man extends person {

    public  Man eat()  {
        System.out.println("public void Man()");
        return null;
    }

    @Override
    public void walk() {
        System.out.println("男生迈一大步走路.........");
    }
}


public class Test_override {
    public static void main(String[] args) {
        person man = new Man();
        man.walk();
    }
}
